﻿@{
    Layout = null;
}
@model PeopleSource.Models.LogOnModel
<!DOCTYPE html>

<html>
<head>
    <title>LogOn</title>
<style type="text/css">
*{margin:0; padding:0;}
img{border:0;}
.login_wrapper{width:875px; height:600px; background:url(../../images/login_bg.jpg) center center no-repeat; margin:30px auto 0 auto;}
.login_info{padding-top:150px; margin-left:330px;}
.u_name,.u_pwd{margin-bottom:20px;}
.u_name input,.u_pwd input{height:25px; line-height:25px; width:250px;}
.submit{background:url(../../images/login_09.gif); width:125px; height:33px; cursor:pointer; margin-left:110px; border:0; }
</style>
</head>
@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")
@using (Html.BeginForm())
{
    <div class="login_wrapper">
    	<div class="login_info">
    		<p class="u_name"><img src="../../images/login_03.png" alt="用户名" />@Html.TextBox("UserName")</p>
        	<p class="u_pwd"><img src="../../images/login_06.png" alt="密码" />@Html.Password("Password")</p>
        	<p><input class="submit" type="button" onclick="submit()" /></p>
        </div>
    </div>
}
<script type="text/javascript">
    function submit() {
        $("form").submit();
    }
</script>
</html>
